Work Fields
You can define temporary domain-type fields called work fields to calculate, temporarily store, or display values that are not stored in a file. A work field is analogous to a record that has no file storage characteristics and contains a single field. A work field has no sequence number and no relationship to any files, records, or other work fields. You can manipulate work fields in much the same fashion as any other field.
You cannot save a value in a work field after a user exits APPX. To save a work field value, you must copy it into a field that is part of a permanent file's record. You cannot define a group of work fields because they are not arranged in a predictable order. Work fields cannot be keys because they are not part of a record structure within a file. When adding work fields to the data dictionary Appx will start the work field name with the word WORK by default. This is similar to naming fields begining with the file name. This helps to identify the field as a work field throughout your application. You can overwrite the word WORK if you so prefer. |